<?php
/**
 * Created by PhpStorm.
 * User: 小蛮哼哼哼
 * Email: 243194993@qq.com
 * Date: 2022/3/25
 * Time: 16:11
 * motto: 现在的努力是为了小时候吹过的牛逼！
 */

namespace app\common\model;

class BuddhaArticleIndex extends Base
{
    public function getStatusList()
    {
        return ['0'=>'禁用','1'=>'启用',];
    }

    protected function getGetArticleAttr($value){
        $title = (new BuddhaArticle())->getBaseById($value);
        return $title['title'] ?? "";
    }
}